<%@page import="entity.Book"%>
<%@page import="dao.BookDao"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            int bookId=Integer.parseInt(request.getParameter("bookid"));
           
        %>
        <h1>添加图片</h1>
        <form action="ais?bookid=<%=bookId%>" enctype="multipart/form-data" method="post">
            图片（jpg格式）：<input class="form-control"  type="file" name="file" style="width:300px"><br>
                <input type="hidden" id="isEmpty" name="isEmpty" value="FULL">
                <input type="submit" class="btn btn-default" value="提交"  >
        </form>
    </body>
</html>
